<?php
	$usermethods = array('stylists', 'add_stylist', 'edit_stylist', 'customers', 'add_customer', 'edit_customer', 'admin_users', 'add_admin');
	$user_active = in_array($this->router->method, $usermethods) ? 'active' : '';
	
	$ecommethods = array('products', 'add_product', 'edit_product');
	$ecom_active = in_array($this->router->method, $ecommethods) ? 'active' : '';

	$bookingmethodds = array('stylist_availability', 'add_time', 'time_table', 'booking_list');
	$booking_active = in_array($this->router->method, $bookingmethodds) ? 'active' : '';

?>

<ul class="main-menu">
	<li><a href="<?php echo site_url('stylist/');?>" class="<?php echo $this->router->method == "index" ? 'active' : ''; ?>" >Dashboard</a></li>
	<li><a href="<?php echo site_url('stylist/my_profile');?>" class="<?php echo $this->router->method == "index" ? 'active' : ''; ?>" >Profile</a></li>
	<li><a href="<?php echo site_url('stylist/booking_appointments');?>" class="<?php echo $this->router->method == "index" ? 'active' : ''; ?>" >Booking Appointments</a></li>
</ul>
